<?php

namespace App\Models\System\Project;

use App\Models\BaseModel;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Relations\HasMany;

class SystemProjectModuleModel extends BaseModel
{
    use HasFactory;

    public $timestamps = false;

    protected $table = "system_project_module";

    /**
     * @return HasMany
     */
    public function errorRel(): HasMany
    {
        return $this->hasMany(SystemProjectModuleErrorModel::class, "moduleId", "id");
    }
}
